import java.io.File;

public class FileTest {
    public static void main(String[] args) {
        File file = new File("F:\\javacode\\k\\a\\b");
/*        boolean exists = file.exists();
        System.out.println(exists);*/

        file.mkdir();

        file.mkdirs();
    }
}
